package com.black.service.service;

import com.alibaba.fastjson2.JSONObject;
import com.black.protocol.Response;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    Response<?> verifyCode(HttpServletRequest request);

    Response<?> emailCode(HttpServletRequest request, JSONObject param);

    Response<?> register(HttpServletRequest request, JSONObject param);

    Response<?> login(HttpServletRequest request, JSONObject param);

    Response<?> logout(JSONObject param);

    Response<?> checkEmail(JSONObject param);

    Response<?> forget(HttpServletRequest request, JSONObject param);

    Response<?> unsubscribe(HttpServletRequest request, JSONObject param);

    Response<?> update(HttpServletRequest request, JSONObject param);

    Response<?> donatePoints(HttpServletRequest request, JSONObject param);
}
